package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <desc>
 *      项目云服务费收费明细表
 * </desc>
 */
@Data
@NoArgsConstructor
@ItlTables("property_cloud_service_cost_order_data")
@EqualsAndHashCode(callSuper = true)
public class PropertyCloudServiceCostOrderDataPO extends BasePO implements Serializable {

    @ItlField(value = "data_id",logicKey = "key")
    private String dataId;                 //收费明细id
    @ItlField("order_id")
    private String orderId;                 //订单逻辑ID
    @ItlField("project_id")
    private String projectId;               //项目id
    @ItlField("product_type")
    private Integer productType;               //产品分类，1电梯类 2门禁类 3人脸识别类
    @ItlField("product")
    private String product;               //电梯类：1云电梯 2二维码电梯 3手机蓝牙电梯；门禁类：1云门禁 2二维码门禁 3手机蓝牙门禁 4分体门禁；人脸识别类：1云对讲 2人脸识别仪，多个英文逗号相连
    @ItlField("fee_norm")
    private BigDecimal feeNorm;             //收费标准
    @ItlField("fee_unit")
    private String feeUnit;               //收费单位
    @ItlField("equip_count")
    private Integer equipCount;               //设备数量
    @ItlField("equip_unit")
    private String equipUnit;               //设备单位
    @ItlField("charge_amount")
    private BigDecimal chargeAmount;               //收费金额
    @ItlField("start_time")
    private Date startTime;                 //收费起始时间
    @ItlField("end_time")
    private Date endTime;                   //收费结束时间

    @ItlField("discount_quantity")
    private Integer discountQuantity;       //减免数量
    @ItlField("discount_amount")
    private BigDecimal discountAmount;      //减免金额

    @ItlField("remark")
    private String remark;          //备注

    @ItlField("assignment_number")
    private String assignmentNumber;    //任务书号

    @ItlField("create_user_id")
    private String createUserId;               //运营用户创建人id
    @ItlField("operate_user_id")
    private String operateUserId;               //运营用户操作人id

}
